/**
 * 框架页的数据请求
 * @author: minzhang
 * @update: 2017-03-15
 */

import request from '../utils/request';
import qs from 'qs';

//export async function query() {
//  return request(`${CONTEXTPATH}/user/userRole`, {credentials: 'include'});
//}
//
//export async function save(params) {
//  return request(`${CONTEXTPATH}/user/passChange`, {
//    method: 'post',
//		credentials: 'include',
//		headers: {
//			"Content-Type": "application/x-www-form-urlencoded",
//		},
//    body: qs.stringify(params),
//  });
//}